package main

import (
	"XiangMu/router"
)

func main() {
	//models.InitRabbitMQ()
	// 启动 rabbitMQ 消费者
	//go rabbitMQ.ConsumeAvatarUpload()
	//go rabbitMQ.ConsumeStatusChangeMessages()
	r := router.Router()
	err := r.Run(":8888")
	if err != nil {
		println("Error:", err)
		return
	}
}
